/**
 * 
 */
package fr.mynounou.exceptions.dao;

import fr.mynounou.exceptions.MyNounouException;

/**
 * @author btavernier
 * 
 */
@SuppressWarnings("serial")
public final class ExistingEntityException extends MyNounouException {
	Object o;

	public ExistingEntityException(Object o) {
		super();
		this.o = o;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see fr.mynounou.exceptions.MyNounouException#getMessage()
	 */
	@Override
	public String getMessage() {
		return super.getMessage() + " Existing Entity Exception :"
				+ o.toString();
	}
}
